<include file="Common:layout" />
<body style="background-color: #FFF; overflow: auto;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title"><a class="back" href="javascript:history.back();" title="返回列表"><i class="fa fa-arrow-circle-o-left"></i></a>
            <div class="subject">
                <h3>{$payment.p_name}</h3>
                <h5>安装/修改 支付参数</h5>
            </div>
        </div>
    </div>

    <form method="post" id="handlepost" action="{:U('Payment/pay_install')}" enctype="multipart/form-data" name="form1">
        <input type="hidden" name="form_submit" value="ok" />
        <div class="ncap-form-default">
            <dl class="row">
                <dt class="tit">
                    <label>支付名称</label>
                </dt>
                <dd class="opt">
                    <input name="p_name" value="{$payment.p_name}" type="text"/>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label>支付手续费</label>
                </dt>
                <dd class="opt">
                    <input name="p_fee" value="{$payment.p_fee}" data-type="number" type="text" />
                </dd>
            </dl>
            {$payment_html}
            <dl class="row">
                <dt class="tit">
                    <label>接口说明</label>
                </dt>
                <dd class="opt">
                    <textarea name="p_desc" class="tarea">{$payment.p_desc}</textarea>
                </dd>
            </dl>
            <div class="bot">
                <input type="hidden" name="p_id" value="{$payment_id}"/>
                <a href="JavaScript:void(0);" class="ncap-btn-big ncap-btn-green" onclick="document.form1.submit()">保存</a>
            </div>
        </div>
    </form>
</div>
<div id="goTop"> <a href="JavaScript:void(0);" id="btntop"><i class="fa fa-angle-up"></i></a><a href="JavaScript:void(0);" id="btnbottom"><i class="fa fa-angle-down"></i></a></div>
</body>
</html>